<!-- Main navbar -->
<div class="navbar navbar-inverse">
	<div class="navbar-header">
		<a class="navbar-brand" href="index.html"><img
			src="assets/images/logo_light.png" alt=""></a>

		<ul class="nav navbar-nav pull-right visible-xs-block">
			<li><a data-toggle="collapse" data-target="#navbar-mobile"><i
					class="icon-tree5"></i></a></li>
		</ul>
	</div>

	<div class="navbar-collapse collapse" id="navbar-mobile">
		<ul class="nav navbar-nav navbar-right">
			<li><a href="#"> <i class="icon-display4"></i> <span
					class="visible-xs-inline-block position-right"> Go to
						website</span>
			</a></li>

			<li><a href="#"> <i class="icon-user-tie"></i> <span
					class="visible-xs-inline-block position-right"> Contact
						admin</span>
			</a></li>

			<li class="dropdown"><a class="dropdown-toggle"
				data-toggle="dropdown"> <i class="icon-cog3"></i> <span
					class="visible-xs-inline-block position-right"> Options</span>
			</a></li>
		</ul>
	</div>
</div>
<!-- /main navbar -->


<!-- Page container -->
<div class="page-container login-container">

	<!-- Page content -->
	<div class="page-content">

		<!-- Main content -->
		<div class="content-wrapper">

			<!-- Content area -->
			<div class="content">

				<!-- Advanced login -->
				<form role="form" name="myForm" novalidate>
					<div class="login-form">
						<div class="text-center">
							<div class="icon-object border-warning-400 text-warning-400">
								<i class="icon-people"></i>
							</div>
							<h5 class="content-group-lg">
								账号登录 <small class="display-block">输入你的用户名</small>
							</h5>
						</div>

						<div class="form-group has-feedback has-feedback-left">
							<input type="text" class="form-control input-lg"
								placeholder="用户名" ng-model="user.username" name="username"
								id="username" required>
							<div class="form-control-feedback">
								<i class="icon-user text-muted"></i>
							</div>
							<span style="color: red"
								ng-show="myForm.username.$dirty && myForm.username.$invalid">
								<span ng-show="myForm.username.$error.required">用户名不能为空！</span>
							</span>
						</div>


						<div class="form-group has-feedback has-feedback-left">
							<input type="password" class="form-control input-lg"
								placeholder="密码" ng-model="user.password" required id="password"
								name="password">
							<div class="form-control-feedback">
								<i class="icon-lock2 text-muted"></i>
							</div>
							<span style="color: red"
								ng-show="myForm.password.$dirty && myForm.password.$invalid">
								<span ng-show="myForm.password.$error.required">密码不能为空！</span>
							</span>
						</div>

						<div class="form-group login-options">
							<div class="row">
								<div class="col-sm-6">
									<label class="checkbox-inline"> <input type="checkbox"
										class="styled" checked="checked"> 记住密码
									</label>
								</div>

								<div class="col-sm-6 text-right">
									<a href="login_password_recover.html">忘记密码</a>
								</div>
							</div>
						</div>
                 
						<div class="form-group">
						      <span style="color: red"
								ng-show="wrong">
								账户或者密码错误</span>
				
							<button type="submit" class="btn bg-blue btn-block btn-lg"
								ng-click="login()">
								登录<i class="icon-arrow-right14 position-right"></i>
							</button>
						</div>

						<div class="content-divider text-muted form-group">
							<span>其他方式登录</span>
						</div>
						<ul
							class="list-inline form-group list-inline-condensed text-center">
							<li><a href="#"
								class="btn border-indigo text-indigo btn-flat btn-icon btn-rounded"><i
									class="icon-facebook"></i></a></li>
							<li><a href="#"
								class="btn border-pink-300 text-pink-300 btn-flat btn-icon btn-rounded"><i
									class="icon-dribbble3"></i></a></li>
							<li><a href="#"
								class="btn border-slate-600 text-slate-600 btn-flat btn-icon btn-rounded"><i
									class="icon-github"></i></a></li>
							<li><a href="#"
								class="btn border-info text-info btn-flat btn-icon btn-rounded"><i
									class="icon-twitter"></i></a></li>
						</ul>

						<div class="content-divider text-muted form-group">
							<span>没有账号？</span>
						</div>
						<a ui-sref="signup"
							class="btn bg-slate btn-block btn-lg content-group">注册</a>
					</div>
				</form>
				<!-- /advanced login -->


				<!-- Footer -->
				<div class="footer text-muted">
					&copy; 2017. <a href="#">create</a> by <a
						href="http://themeforest.net/user/Kopyov" target="_blank">iss.ip</a>
				</div>
				<!-- /footer -->

			</div>
			<!-- /content area -->

		</div>
		<!-- /main content -->

	</div>
	<!-- /page content -->

</div>